package com.xc.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel("权限管理")
public class PermissionEntity {
    /**
     * 主键
     */
    @Id
    @ApiModelProperty("权限管理ID")
    private Integer id;
    /**
     * 状态
     */
    @ApiModelProperty("状态")
    private Integer enable;
//    private String createTime;
//    private String updateTime;
//    private String remark;
    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty("组件名称")
    private String view;
    @ApiModelProperty("父ID")
    private Integer pId;
    @ApiModelProperty("图标")
    private String icon;
    @ApiModelProperty("访问地址")
    private String path;
    private Integer page;
    private Integer limit;
}
